import * as VueRouter from 'vue-router'
import Dashboard from './components/Dashboard.vue';
import MonitorPage from './components/MonitorPage.vue';
import GloablMonitor from './components/GlobalMonitor.vue';

const routes = [
    {
        path: '/',
        component: Dashboard
    },
    {
        path: '/monitor',
        component: GloablMonitor
    },
    {
        path: '/monitor-page',
        component: MonitorPage
    },
]
const router =  VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(),
    routes,
})

export default router
